<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
  <s:form id="userListForm" action="userAction_list.action">
							<s:hidden name="pageNo"></s:hidden>
    <table width="100%" border="1px" bordercolor="#a3bed0"
				cellspacing="0px" style="border-collapse:collapse" align="center">
				<tr>
					<td width="10%">
										用户名
									</td>
									
									
									<td width="6%">
										账号 
									</td>	
									<td width="6%">
										更新时间 
									</td>							
									
				</tr>
				<s:iterator value="page.records" id="user" status="rowstatus">
									<tr>									   
										<td style="text-align: left">
										   
											<s:property value="#user.name" />
										</td> 
										  
										<td style="text-align: left">
											<s:property value="#user.account" />
										</td>
										
										<td style="text-align: left">
											<s:date name="#user.addTime" format="yyyy-MM-dd HH:mm:ss" />
										</td>
										
										
									</tr>
								</s:iterator>
			</table>
			</s:form>
			<jsp:include page="/page/page.jsp"/>  
  </body>
</html>
